
package com.ruoyi.common.utils.fabric;
public class TestConfig {
// 因为我这边用的是微服务,所有,路径必须要包括我的模块名称
//    orderer
    public static final String ORDERER_PEMFILE="/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt";
    public static final String ORDERER_CERT="/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/client.crt";
    public static final String ORDERER_KEY="/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/client.key";
    public static final String ORDER_NAME="orderer.example.com";
//    peer0.org1
    public static final String PEER1_PEMFILE="/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt";
    public static final String PEER1_CERT="/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/client.crt";
    public static final String PEER1_KEY="/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/client.key";
    public static final String PEER1_NAME="peer0.org1.example.com";
//    peer0.org2
    public static final String PEER2_PEMFILE="/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.crt";
    public static final String PEER2_CERT="/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/client.crt";
    public static final String PEER2_KEY="/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/client.key";
    public static final String PEER2_NAME="peer0.org2.example.com";
}
